import request from '@/utils/request';

export async function getDrawingPrintHstByPage (params: any) {
    return request('/api/product/getDrawingPrintHstByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addDrawingPrintHst (params: any) {
    return request('/api/product/addDrawingPrintHst', {
    method: 'POST',
    data: params,
  });
}

export async function updateDrawingPrintHst (params: any) {
    return request('/api/product/updateDrawingPrintHst', {
    method: 'POST',
    data: params,
  });
}

export async function delDrawingPrintHst (params: any) {
    return request('/api/product/delDrawingPrintHst', {
    method: 'POST',
    data: params,
  });
}


export async function exportDrawingPrintHst(params: any) {
    return request('/api/product/exportDrawingPrintHst', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getDrawingPrintHstByPage, addDrawingPrintHst, updateDrawingPrintHst, delDrawingPrintHst, exportDrawingPrintHst }
